/**************************************************************************************
 *
 * @(#) RegisterRequest.java
 * @Package com.jgdt.jgdtkasannong_university_gene_backend.dto
 **************************************************************************************/
package com.jgdt.jgdtkasannong_university_gene_backend.vo.user;

import io.swagger.v3.oas.annotations.media.Schema;
import jakarta.validation.Valid;
import jakarta.validation.constraints.NotBlank;
import lombok.Data;
import org.springframework.validation.annotation.Validated;

/**
 * @description:
 * @author: huangAn
 * @createDate: 2025/04/18
 */
@Data
@Valid
public class RegisterVo {
    /**
     * 用户名
     */
    @Schema(description = "用户名", example = "testuser")
    @NotBlank(message = "username cannot be empty!")
    private String username;
    /**
     * 密码
     */
    @Schema(description = "密码", example = "123456")
    @NotBlank(message = "password cannot be empty!")
    private String password;
    /**
     * 电子邮件
     */
    @Schema(description = "电子邮件", example = "123456")
    @NotBlank(message = "email cannot be empty!")
    private String email;
}




